home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 April / Chip CMCD0400.iso / SOFTWARE / Demo / InfoPulse / GateKeeper / gk3full.exe / data1.cab / ConfigSite_Files / logging / selfile.agp < prev    next >
Encoding:
Text File  |  1999-06-17  |  1.3 KB  |  57 lines

  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  4. <meta NAME="Author,Design" Content="GateKeeper Team; gatekeeper@infopulse.net">
  5. <meta NAME="Copyright" Content="Infopulse; www.infopulse.net">
  6. <title>Empty</title>
  7. </head>
  8.  
  9. <body >
  10. <%
  11.     str = Request.ReqParam("audit")
  12.     if str = "True" Then
  13.         logType = "Auditing"
  14.     else
  15.         logType = "IP logs"
  16.     end if
  17. %>
  18. <p><big><strong><font face="Arial"><%Response.Write(logType)%></font></strong></big></p>
  19. <font face="Arial">
  20.  
  21. <%
  22.     if Logging.CountFiles > 0 Then
  23. %>
  24. <form method="POST" action= "showlog.agp?rule=<%Response.Write(ruleName)%>">
  25.     <input type="hidden" name="audit" value="<%Response.Write(Request.ReqParam("audit"))%>" >
  26.     Select LogFile:
  27.     <select name="file" size="1">
  28.     <%
  29.         for i = 1 To Logging.CountFiles
  30.             sFile = Logging.GetFile(i)
  31.             y = Mid( sFile, 3, 4 )
  32.             m = Mid( sFile, 7, 2 )
  33.             d = Mid( sFile, 9, 2 )
  34.             Dat = DateSerial( y, m, d)
  35.             fName = FormatDateTime( Dat, 1 )
  36.     %>
  37.         <option value="<%Response.Write(sFile)%>"><%Response.Write(fName)%></option>
  38.     <%
  39.         next
  40.     %>
  41.     </select>            
  42.     
  43.     <input type="submit" name="action" value="Show it!">
  44. </form>
  45. <%
  46.     Else
  47. %>
  48.     There are no logfiles to show.
  49.     <p>
  50. <%
  51.     End If
  52. %>
  53. </font>
  54. <font size="1" face="Arial"><%Response.Write(GateKeeper.Version)%></font>
  55. </body>
  56. </html>
  57.